<?php include_once 'layout/heardU.php'?>

    <body style="background:#f5f5f5; padding-bottom:50px;">

<div class="content head_bg">
	<div class="head">
        <h1>我的订单</h1>
    </div>
</div>

<div class="content order_list_bg">
	<div class="order_list">
    	<ul>

            <?php
            if($rsp_list){
                foreach($rsp_list as $v){
                    echo '	<li>
                                <h3>订单号：'.$v['shop_express_no'].'</h3>
                                <h4>
                                    <b>配送点：'.$v['shop_name'].'</b>
                                    <span>'.$v['shop']['front_area'].'&nbsp;'.$v['shop']['front_address'].'</span>
                                </h4>
                                <h5>收货点：'.$v['receiver_address'].'</h5>
                                <div class="box_bnt">
                                    <a href="?md=users&cl=users&at=orderDetails&orders_id='.$v['id'].'">查看详情</a>
                                    <a class="bnt_hpsd" href="javascript:void(0)">商城首页</a>
                                </div>
                            </li>';
                }
            }
            ?>
        </ul>
    </div>
</div>

<?php if($rsp_list){
    $display = 'style="display: none"';
}else{
    $display = '';
}
?>
<div class="content no_order" <?php echo $display;?>>
	<dl>
        <dd><img src="webroot/users/images/no_order.png"></dd>
        <dt>您目前还没有配送中的订单，快去下单吧！</dt>
    </dl>
</div>

<div class="menu_bg">
	<div class="content">
    	<a class="a_psz hov" href="#">
            <span></span>
            <p>配送中</p>
        </a>
        <a class="a_ywc" href="?md=users&cl=users&at=ordersFinish">
            <span></span>
            <p>已完成</p>
        </a>
    </div>
</div>

<a class="bnt_refresh" href="#">刷新</a>


<?php include_once 'layout/footerU.php'?>